package com.mlethe.library.socialtool.activity;

import android.app.Activity;
import android.os.Bundle;

import com.mlethe.library.socialtool.SocialTool;

/**
 * 微信支付、授权、分享回调(推荐)
 *
 * @author Mlethe
 */
public abstract class WXCallbackActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        SocialTool.getWechat().handleIntent(getIntent());
        finish();
    }
}
